<template>
  <div class="app">
    <h3>我是APP组件</h3>
    <Child></Child>
  </div>
</template>


<script>
//TODO  隔代组件间的通信方式
import Child from "./components/Child.vue";

export default {
  name: 'App',
  components: {Child},
}
</script>

<style>
.app {
  background-color: gray;
  padding: 10px;
}
</style>
